package com.vanzo.tisen.agingtest;

/**
 * Created by tisen on 2017/5/23.
 */

public class DeviceException extends  Exception{
    public static final String CAMERA_ERROR="后摄出错";
    public static final String FRONT_CAMERA_ERROR="前摄出错";
    public static final String HANDSET_ERROR="听筒出错";
    public static final String LCD_ERROR="屏幕出错";
    public static final String MIC_ERROR="麦克出错";
    public static final String SPEAKER_ERROR="喇叭出错";
    public static final String VIBRATOR_ERROR="震动出错";

    private String errorTip;
    public DeviceException(String message) {
        super(message);
        errorTip = message;
    }
    public String toast(){
        return errorTip;
    }
}
